package com.ibangnuo.api.wxpay;

import com.ibangnuo.framework.domain.CommercialTenantDetailsWx;
import com.ibangnuo.framework.model.response.ObjectResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

import java.util.Map;

/**
 * @Author: wwy
 * @Date: 2020-01-18 21:34
 */
@Api(value="微信商户进件",description = "微信商户进件")
public interface WxMerchantsIntoPiecesControllerApi {

    @ApiOperation("商户进件添加")
    ObjectResult add(CommercialTenantDetailsWx commercialTenantDetailsWx);

    @ApiOperation("根据id查询商户微信进件")
    @ApiImplicitParams({
            @ApiImplicitParam(name="id",value = "主键",required=true,paramType="path",dataType="String"),
    })
    ObjectResult findById(String id);

    @ApiOperation("根据商户id查询商户微信进件")
    @ApiImplicitParams({
            @ApiImplicitParam(name="commercialId",value = "商户id",required=true,paramType="path",dataType="String"),
    })
    ObjectResult findByCommercialId(String commercialId);
}
